package com.atguigu.spring6iocxml.ditest;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestDiList {
    @Test
    public void testDiList() {
        ApplicationContext context = new ClassPathXmlApplicationContext("beanDiList.xml");
        Dept dept = context.getBean("dept", Dept.class);
        dept.info();
    }
}
